#include "mode_scene_handle.h"

SCENE_SYS scene_ssp;

LIGHT_EFFECT_T light_effect_default_config[]={ \
    {2,50,45,{0x13,0xFF,0x13,0x12,0xFF,0x4F,0x13,0xFF,0x13,0x12,0xFF,0x4F,0x13,0xFF,0x13,0xFF,0xFF,0xFF,0x13,0xFF,0x13,0x12,0xFF,0x4F,0x13,0xFF,0x13,0x12,0xFF,0x4F,0x13,0xFF,0x13,0x12,0xFF,0x4F,0x13,0xFF,0x13,0xFF,0xFF,0xFF,0x13,0xFF,0x13}},//0极光
    {1,20,12,{0xFF,0x00,0x54,0xFF,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//1烛光晚餐
    {1,20,18,{0xFF,0x0E,0x00,0xFF,0x0E,0x00,0xFF,0x2B,0x01,0xFF,0x2B,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//2生日
    {8,20,15,{0xFF,0x32,0x00,0xFF,0x46,0X18,0xFF,0x5A,0X32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//3流星
    {1,20,24,{0x00,0x00,0xFF,0x00,0x00,0x00,0xFD,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0xFD,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//4睡觉
    {6,20, 9,{0x61,0x18,0xFF,0xFF,0x3E,0x18,0x18,0x54,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//5冥想
    {2,50,30,{0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x1E,0x00,0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x1E,0x00,0xFF,0x00,0x00,0xFF,0x1E,0x00,0xFF,0x2D,0x11,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//6火焰
    {2,50, 9,{0x3E,0xCF,0xE4,0xFF,0xFF,0xFF,0x3E,0xF1,0xE4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//7商务
    {1,60, 3,{0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//8警报
    {4,50,12,{0xFF,0xFF,0xFF,0x00,0xFF,0x00,0x00,0x1E,0xFF,0x00,0x1E,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//9潮汐
    {6,50,12,{0xD8,0x00,0x7B,0xFB,0x00,0x44,0xFE,0x00,0x00,0x2C,0x1C,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//10电子音乐
    {2,50,27,{0xA8,0x00,0xFF,0xA8,0x00,0xFF,0xA8,0x00,0xFF,0x00,0x00,0xFF,0x3F,0x3F,0xFF,0x62,0x0D,0xFF,0x62,0x0D,0xFF,0x21,0x9D,0xFD,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},//11宇宙
};


void set_scene_ssp(u8 num)
{
    scene_ssp.ssp =num;
    LOG_INFO("scene_ssp.ssp %d\n",scene_ssp.ssp);
}

void set_scene_last_ssp(u8 num)
{
    scene_ssp.last_ssp = num;
    LOG_INFO("scene_ssp.last_ssp %d\n",scene_ssp.last_ssp);
}

EM_SCENE_SSP get_scene_ssp()
{
    return scene_ssp.ssp;
}

EM_SCENE_SSP get_scene_last_ssp()
{
    return scene_ssp.last_ssp;
}